package com.zenithsun.pic.picdetail.model;

import java.util.Date;

import com.zenithsun.pic.picsubject.model.Picsubject;

/**
 * Picdetail entity. @author MyEclipse Persistence Tools
 */

public class Picdetail implements java.io.Serializable {

	// Fields

	private String id;
	private Picsubject picsubject;
	private Integer orderNo;
	private String thumbnailPath;
	private String path;
	private String remark;
	private String resolution;
	private Date shootingTime;
	private Integer size;
	private String artist;
	private Integer height;
	private Integer width;
	private Integer hits;

	// Constructors

	/** default constructor */
	public Picdetail() {
	}

	/** minimal constructor */
	public Picdetail(String id, Integer orderNo, String path, Integer size,
			Integer height, Integer width) {
		this.id = id;
		this.orderNo = orderNo;
		this.path = path;
		this.size = size;
		this.height = height;
		this.width = width;
	}

	/** full constructor */
	public Picdetail(String id, Picsubject picsubject, Integer orderNo,
			String path, String remark, String resolution,
			Date shootingTime, Integer size, String artist,
			Integer height, Integer width, Integer hits) {
		this.id = id;
		this.picsubject = picsubject;
		this.orderNo = orderNo;
		this.path = path;
		this.remark = remark;
		this.resolution = resolution;
		this.shootingTime = shootingTime;
		this.size = size;
		this.artist = artist;
		this.height = height;
		this.width = width;
		this.hits = hits;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Picsubject getPicsubject() {
		return this.picsubject;
	}

	public void setPicsubject(Picsubject picsubject) {
		this.picsubject = picsubject;
	}

	public Integer getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(Integer orderNo) {
		this.orderNo = orderNo;
	}
	
	
	public String getThumbnailPath() {
		return thumbnailPath;
	}

	public void setThumbnailPath(String thumbnailPath) {
		this.thumbnailPath = thumbnailPath;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getResolution() {
		return this.resolution;
	}

	public void setResolution(String resolution) {
		this.resolution = resolution;
	}

	public Date getShootingTime() {
		return shootingTime;
	}

	public void setShootingTime(Date shootingTime) {
		this.shootingTime = shootingTime;
	}

	public Integer getSize() {
		return this.size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public String getArtist() {
		return this.artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public Integer getHeight() {
		return this.height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getWidth() {
		return this.width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getHits() {
		return hits;
	}

	public void setHits(Integer hits) {
		this.hits = hits;
	}
	
}